package com.synthefact.daj.view;

import java.awt.Font;

public class VisualConfiguration {

    private static final Font DEFAULT_FONT = new Font("Helvetica", Font.PLAIN, 12);
    private static final Font DEFAULT_FONT_SMALL = new Font("Helvetica", Font.PLAIN, 10);
    private static final int DEFAULT_NODE_RADIUS = 18;
    private static final int DEFAULT_CHANNEL_WIDTH = 3;
    private static final int DEFAUL_CHANNEL_RADIUS = 6;

    private static Font standardFont = DEFAULT_FONT;
    private static Font smallFont = DEFAULT_FONT_SMALL;
    private static int nodeRadius = DEFAULT_NODE_RADIUS;
    private static int channelWidth = DEFAULT_CHANNEL_WIDTH;
    private static int channelRadius = DEFAUL_CHANNEL_RADIUS;

    public static int getNodeRadius() {
	return nodeRadius;
    }

    public static void setNodeRadius(int r) {
	nodeRadius = r;
    }

    public static int getChannelWidth() {
	return channelWidth;
    }

    public static void setChannelWidth(int cw) {
	VisualConfiguration.channelWidth = cw;
    }

    public static int getChannelRadius() {
	return channelRadius;
    }

    public static void setChannelRadius(int cr) {
	VisualConfiguration.channelRadius = cr;
    }

    public static Font getStandardFont() {
	return standardFont;
    }

    public static void setStandardFont(Font f) {
	VisualConfiguration.standardFont = f;
    }

    public static Font getSmallFont() {
	return smallFont;
    }

    public static void setSmallFont(Font f) {
	VisualConfiguration.smallFont = f;
    }
}
